import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    user:{
      username:null,
      token:null,
      flod:false,
      userType:localStorage.getItem('userType'),
      //公钥
      publicKey: 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDQGVu9dhNTWz+kw5vJifAPnBoppjo7MbqQRlbb93JZzu1lKNs/qzatPE+WFZXOSLFBwsx3CX+UUS8GVQ7yQIDaPImAvQvuRk6/a+cIzh7gDhNrfF90IAaepAbwq4c9n9Z+bkSb/KPbZ6WPmMunhPyuEJxACa6RFEenAt4mojFOBwIDAQAB',
      //私钥
      privateKey: 'MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBANAZW712E1NbP6TDm8mJ8A+cGimmOjsxupBGVtv3clnO7WUo2z+rNq08T5YVlc5IsUHCzHcJf5RRLwZVDvJAgNo8iYC9C+5GTr9r5wjOHuAOE2t8X3QgBp6kBvCrhz2f1n5uRJv8o9tnpY+Yy6eE/K4QnEAJrpEUR6cC3iaiMU4HAgMBAAECgYAD4fuknofGlGGs0O5R/yR4uUobraHq6aCetIR5kjWSy2bOh/0FqrIlRVM1OUd6rXLxOsTWq7/mCowjROieFVBruV2Lxk2+PV5lQtKdwpv7xE+T3Oc42Kcm/UcrZjOI6R4sOEceMwq5G1kAQPNgxZM8BJTK5jo3B4VQDML70lvU8QJBAPdtSTnKwMPsyUU9soCHr4BHlsRL78MJtn9k6R4srI9KGwzgBVDR2198QZCm/ucCiJnXkZNEaHKUJ7eOOFejccMCQQDXTzp5pDb9mhq+F9assRItdmCiqY1EHeRzvG8bBH+CdlXNuf1OQS29hkImiPTKW/VvOrMFtzCPCezlrxt7csptAkAkiMmQNAUEqRkLFVIfMmnSqj9z2rabePqukurtHrGYMtwNqaJ/TY1z6vgPcOkgmTosZS1Erowxpvi6XNCq+CJbAkEAxGfimKoC+84CzRsj2j5grZYJyvhOBDAcgLMIyyWMR285EES0XBk652M8nrhaTOob9o4eVn1oT2MnddIJiNAK9QJAHLg9OXkX/UMAP1Q0EFfvCGidrjkAK5kqTTlkRGdZdf/nOVMZlzEhGsBn1cK+nDUvPOC5oKkUWglTcYceamUFPw==',

    }
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})
